

def timer(label=""):
    def decorator(func):
        def onCall():
            func()
            print(label)
        return onCall
    return decorator

@timer("===>")
def listcomp():
    print("test")

listcomp()